﻿<%@ Page Language="C#" AutoEventWireup="false" MasterPageFile="~/App_MasterPages/layout.Master"
    CodeBehind="AdminOrderDetail.aspx.cs" Inherits="eStore.UI.AdminOrderDetailPage" %>

<asp:Content ContentPlaceHolderID="leftContent" ID="MPLeftPane" runat="server" />
<asp:Content ContentPlaceHolderID="mainContent" ID="MPContent" runat="server">
    <mp:cornerroundertop id="ctop1" runat="server" />
    <asp:Panel ID="pnlStoreManager" runat="server" CssClass="admin estorecart estoreorder">
        <portal:mojopanel id="MojoPanel1" runat="server" artisteercssclass="art-PostContent">
            <div class="modulecontent">
            <div class="breadcrumbs">
                        <asp:HyperLink ID="lnkStoreMenu" runat="server" />&nbsp;&gt;
                        <asp:HyperLink ID="lnkAdminOrder" runat="server" />&nbsp;&gt;
                        <asp:HyperLink ID="lnkCurrentPage" runat="server" CssClass="selectedcrumb" />
                    </div>
                <fieldset>
                    <legend>
                        <asp:Literal ID="ltrTitle" runat="server"></asp:Literal>
                    </legend>
                    <div class="settingrow">
                        <portal:mojoButton ID="btnBack" runat="server" />
                    </div>
                    <div class="settingrow">
                        <mp:SiteLabel ID="SiteLabel8" runat="server" CssClass="settinglabel" ConfigKey="SiteUserLabel"
                            ResourceFile="eStoreResources" />
                        <asp:Label ID="lblSiteUser" runat="server" />
                        <asp:HyperLink ID="lnkUser" runat="server" Target="_blank" />
                    </div>
                    <div class="settingrow">
                        <mp:SiteLabel ID="SiteLabel3" runat="server" CssClass="settinglabel" ConfigKey="OrderIdLabel"
                            ResourceFile="eStoreResources" />
                        <asp:Label ID="lblOrderId" runat="server" />
                    </div>
                    <div class="settingrow">
                        <mp:SiteLabel ID="SiteLabel4" runat="server" CssClass="settinglabel" ConfigKey="OrderStatusLabel"
                            ResourceFile="eStoreResources" />
                        <portal:OrderStatusSetting ID="orderStatusControl" runat="server" />
                        <asp:Button ID="btnSaveStatusChange" runat="server" />
                    </div>
                    <div class="settingrow">
                        <mp:SiteLabel ID="LabelCustomerName" runat="server" CssClass="settinglabel" ConfigKey="CartOrderInfoCustomerNameLabel"
                            ResourceFile="eStoreResources" />
                        <asp:Label ID="lblCustomerName" runat="server" />
                    </div>
                    <div class="settingrow">
                        <mp:SiteLabel ID="LabelCustomerCompany" runat="server" CssClass="settinglabel" ConfigKey="CartOrderInfoCustomerCompanyLabel"
                            ResourceFile="eStoreResources" />
                        <asp:Label ID="lblCustomerCompany" runat="server" />
                    </div>
                    <div class="settingrow">
                        <mp:SiteLabel ID="LabelCustomerAddressLine1" runat="server" CssClass="settinglabel"
                            ConfigKey="CartOrderInfoCustomerAddressLabel" ResourceFile="eStoreResources" />
                        <asp:Label ID="lblCustomerAddressLine1" runat="server" />
                    </div>
                    <div class="settingrow">
                        <mp:SiteLabel ID="LabelCustomerCountry" runat="server" CssClass="settinglabel" ConfigKey="CartOrderInfoCustomerCountryLabel"
                            ResourceFile="eStoreResources" />
                        <asp:Label ID="lblCustomerCountry" runat="server" />
                    </div>
                    <div class="settingrow">
                        <mp:SiteLabel ID="LabelCustomerCity" runat="server" CssClass="settinglabel" ConfigKey="CartOrderInfoCustomerCityLabel"
                            ResourceFile="eStoreResources" />
                        <asp:Label ID="lblCustomerCity" runat="server" />
                    </div>
                    <div class="settingrow">
                        <mp:SiteLabel ID="LabelCustomerPostalCode" runat="server" CssClass="settinglabel"
                            ConfigKey="CartOrderInfoCustomerPostalCodeLabel" ResourceFile="eStoreResources" />
                        <asp:Label ID="lblCustomerPostalCode" runat="server" />
                    </div>
                    <div class="settingrow">
                        <mp:SiteLabel ID="LabelCustomerTelephoneDay" runat="server" CssClass="settinglabel"
                            ConfigKey="CartOrderInfoCustomerTelephoneLabel" ResourceFile="eStoreResources" />
                        <asp:Label ID="lblCustomerTelephoneDay" runat="server" />
                    </div>
                    <div class="settingrow">
                        <mp:SiteLabel ID="LabelCustomerEmail" runat="server" CssClass="settinglabel" ConfigKey="CartOrderInfoCustomerEmailLabel"
                            ResourceFile="eStoreResources" />
                        <asp:Label ID="lblCustomerEmail" runat="server" />
                    </div>
                    <asp:Panel ID="pnlDiscountCodes" runat="server" CssClass="settingrow">
                        <mp:SiteLabel ID="SiteLabel10" runat="server" CssClass="settinglabel" ConfigKey="OrderDiscountCodesLabel"
                            ResourceFile="eStoreResources" />
                        <asp:Label ID="lblDiscountCodes" runat="server" />
                    </asp:Panel>
                    <asp:Panel ID="pnlCustomData" runat="server" CssClass="settingrow">
                        <mp:SiteLabel ID="SiteLabel12" runat="server" CssClass="settinglabel" ConfigKey="OrderCustomData"
                            ResourceFile="eStoreResources" />
                        <asp:Label ID="lblCustomData" runat="server" />
                    </asp:Panel>
                    <asp:Panel ID="Panel1" runat="server" CssClass="settingrow">
                        <mp:SiteLabel ID="SiteLabel9" runat="server" CssClass="settinglabel" ConfigKey="OrderDetailPaymentMethodLabel"
                            ResourceFile="eStoreResources" />
                        <asp:Literal ID="litPaymentMethod" runat="server" />
                    </asp:Panel>
                    <div class="settingrow">
                    <h3 class="itemsheader">
                        <asp:Literal ID="litItemsHeader" runat="server" /></h3>
                    <div class="settingrow">
                    <table class="cartgrid">
                        <asp:Repeater ID="rptOrderItems" runat="server">
                            <HeaderTemplate>
                                
                                    <tr class="header">
                                        <th>
                                            <%# Resources.eStoreResources.CartItemsHeading%>
                                        </th>
                                        <th>
                                            <%# Resources.eStoreResources.CartPriceHeading%>
                                        </th>
                                        <th>
                                            <%# Resources.eStoreResources.CartQuantityHeading%>
                                        </th>
                                    </tr>
                            </HeaderTemplate>
                            <ItemTemplate>
                                <tr class="items">
                                    <td>
                                        <%# Eval("Name")%>
                                    </td>
                                    <td>
                                        <%# string.Format(currencyCulture, "{0:c}", Convert.ToDecimal(Eval("ProductPrice")))%>
                                    </td>
                                    <td class="quantity">
                                        <%# Eval("Quantity") %>
                                    </td>
                                </tr>
                            </ItemTemplate>
                            <AlternatingItemTemplate>
                                <tr class="altitems">
                                    <td>
                                        <%# Eval("Name")%>
                                    </td>
                                    <td>
                                        <%# string.Format(currencyCulture, "{0:c}", Convert.ToDecimal(Eval("ProductPrice")))%>
                                    </td>
                                    <td class="quantity">
                                        <%# Eval("Quantity") %>
                                    </td>
                                </tr>
                            </AlternatingItemTemplate>
                        </asp:Repeater>
                    
                    <asp:Panel ID="pnlSubTotal" runat="server" CssClass="settingrow">
                    <tr class="footer">
                    <th>
                        <mp:SiteLabel ID="SiteLabel1" runat="server" CssClass="settinglabel" ConfigKey="CartSubTotalLabel"
                            ResourceFile="eStoreResources" />
                            </th>
                            <th>
                        <asp:Literal ID="litSubTotal" runat="server" />
                        </th>
                        <th></th>
                        </tr>
                    </asp:Panel>
                    <asp:Panel ID="pnlDiscount" runat="server" CssClass="storerow">
                    <tr class="footer">
                    <th>
                        <mp:SiteLabel ID="SiteLabel11" runat="server" CssClass="settinglabel" ConfigKey="CartDiscountTotalLabel"
                            ResourceFile="eStoreResources" /></th>
                            <th>
                        <asp:Literal ID="litDiscount" runat="server" /></th>
                        <th></th>
                        </tr>
                    </asp:Panel>
                    <asp:Panel ID="pnlOrderTotal" runat="server" CssClass="settingrow">
                    <tr class="footer">
                         <th><mp:SiteLabel ID="SiteLabel7" runat="server" CssClass="settinglabel" ConfigKey="OrderDetailOrderTotalLabel"
                            ResourceFile="eStoreResources" /></th>
                         <th><asp:Literal ID="litOrderTotal" runat="server" /></th>
                        <th></th>
                        </tr>
                    </asp:Panel>
                    </table>
                    </div>
                    </div>
                    
                    <div class="settingrow">
                        <mp:SiteLabel ID="SiteLabel2" runat="server" CssClass="settinglabel" ConfigKey="spacer" />
                        <portal:mojoButton ID="btnDelete" runat="server" Visible="false" />
                    </div>
                    <div class="settingrow">
                        <portal:mojoButton ID="btnBackBottom" runat="server" />
                    </div>
                    <asp:Panel ID="pnlCheckoutLog" runat="server">
                    </asp:Panel>
                    <div class="cleared">
                    </div>
                </fieldset>
            </div>
        </portal:mojopanel>
        <div class="cleared">
        </div>
    </asp:Panel>
    <mp:cornerrounderbottom id="cbottom1" runat="server" />
</asp:Content>
<asp:Content ContentPlaceHolderID="rightContent" ID="MPRightPane" runat="server" />
<asp:Content ContentPlaceHolderID="pageEditContent" ID="MPPageEdit" runat="server" />
